package com.xdb.sqlparser.dialect.mysql.ast.statement;

import com.xdb.sqlparser.dialect.mysql.visitor.MySqlASTVisitor;

public class MySqlCommitStatement extends MySqlStatementImpl {

	private boolean work = false;

	private Boolean chain;
	private Boolean release;

	public Boolean getChain() {
		return chain;
	}

	public void setChain(Boolean chain) {
		this.chain = chain;
	}

	public Boolean getRelease() {
		return release;
	}

	public void setRelease(Boolean release) {
		this.release = release;
	}

	public boolean isWork() {
		return work;
	}

	public void setWork(boolean work) {
		this.work = work;
	}

	public void accept0(MySqlASTVisitor visitor) {
		visitor.visit(this);

		visitor.endVisit(this);
	}
}
